package zack.project.domain.strategy.service.armory;

import java.util.Date;

/**调度库存,在概率表中获得奖品id
 * @author A1793
 */
public interface IStrategyDispatch {

    Integer getRandomAwardId(Long strategyId);
    Integer getRandomAwardId(Long strategyId, String ruleWeightValue);
    Integer getRandomAwardId(String key);


    boolean subtractionAwardStock(Long strategyId, Integer awardId, Date endDateTime);
}
